package net.esj.background.manage;

import net.esj.background.support.UserInfoAware;

/**
 * 
 * @author HaoJB
 *
 * @param <T> 用户对象
 */
public interface LoginManage<T> extends UserInfoAware {

	T doLoginByNameAndPwd(String name, String pwd,String captcha);
	
	void logout();
	
	boolean alterPwd(String oldPwd,String newPwd,String captcha);

	boolean isAgency();

	Object superLoing(String name, String pwd, String captcha);
	
}
